package com.dongdongshop.service.impl;

import com.dongdongshop.mapper.TbUserScoreAccountMapper;
import com.dongdongshop.pojo.TbUserScoreAccount;
import com.dongdongshop.service.ScoreAccountService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@DubboService
public class ScoreAccountServiceImpl implements ScoreAccountService {

    @Autowired
    private TbUserScoreAccountMapper tbUserScoreAccountMapper;

    @Override
    public Boolean insertInfo(TbUserScoreAccount scoreAccount) {
        return tbUserScoreAccountMapper.insertSelective(scoreAccount) > 0;
    }
}
